<template>
	<view class="content">
		<view class="task-list">
			<view
				v-bind:key="index"
				v-for="(item, index) in tasks"
				:data-index="index"
			>
				<view>
					<view>
						{{ item.title }}
					</view>
          
				</view>
			</view>
		</view>
	</view>
</template>

<script>
import { mapState, mapMutations, mapGetters } from "vuex";

export default {
	props: {
		caseObj: {
			type: Object,
			default: () => {},
		},
	},
	data() {
		return {};
	},
	computed: {
		...mapState({
			tasks: (state) => state.caseDetail.current_case.tasks,
		}),
	},
	methods: {},
};
</script>

<style scoped lang="scss">
.content {
}
</style>
